#include <iostream>
#include <fstream>
using namespace std;
int main()
{
    ofstream fout("mem_inst.txt");
    fout<<"00001000000000000000000000000100\n";
    fout<<"00000000000000000000000000000000\n";
    fout<<"00000000000000000000000000000000\n";
    fout<<"00000000000000000000000000000000\n";
    fout<<"10001100000000010000000100010100\n";
    fout<<"10001100000000100000000100001000\n";
    fout<<"00000000001000100001100000100000\n";
    fout<<"00000000001000100010000000100010\n";
    for (int i=8;i<256;++i) fout<<"00000000000000000000000000000000\n";
    fout.close();
}
